<?xml version='1.0' encoding='UTF-8' ?>
<!--
    Document   : baseProperty
    Created on : Jan 28, 2012, 12:14:06 PM
    Author     : Oscar Ivan Prado
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:icecore="http://www.icefaces.org/icefaces/core"
                xmlns:ace="http://www.icefaces.org/icefaces/components"
                xmlns:ice="http://www.icesoft.com/icefaces/component"
                template="/WEB-INF/facelets/base/controls/DataTable.xhtml">
    <ui:define name="columns">
        <ice:column style="background-color: white; border: #ffffff">
            <table>
                <tr>
                    <td align="left">
                        <ice:inputText value="#{var.name}" disabled="#{disabled}" style="#{nameStyle}"/>
                    </td>
                    <td align="right">
                        <ice:inputText value ="#{var.value}" style="#{valueStyle}"/>
                    </td>
                    <td>
                        <ice:commandButton image="#{request.contextPath}/resources/images/note_edit.png" actionListener="#{variableBackingBean.onModfy(var)}"/>
                    </td>
                    <td align="right">
                        <ice:commandButton rendered="#{propertyRendered}" image="#{request.contextPath}/resources/images/remove.png" actionListener="#{variableBackingBean.onRemove(var)}"/>
                    </td>
                </tr>
            </table>
        </ice:column>
    </ui:define>
</ui:composition>